<template>
  <view-layout-redirect v-if="viewCode" :view-code="viewCode"></view-layout-redirect>
</template>

<script>

import ViewLayoutRedirect from './ViewLayoutRedirect'

export default {
  name: 'ViewRedirectPage',
  components: {
    ViewLayoutRedirect
  },
  data() {
    return {
      viewCode: null
    }
  },
  methods: {},
  created() {
    this.viewCode = this.$route.params.viewCode
  }
}
</script>
